import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false



// 导入less
import '@/styles/base.less'

//导入van
import '@/utils/vant.js'

// 导入flexible
import 'amfe-flexible'

import moment from 'moment'
// 切换成中文时间
moment.locale('zh-cn')
Vue.filter('relvTime',(val)=>{
  return moment(val).fromNow()
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
